<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Cadastro Usuário</title>
    </head>
    <body>
        <h:form>
            <h1>Cadastro Usuário</h1>
            <h:panelGrid columns="2">

                <h:outputLabel value="Nome: " />
                <h:inputText value="#{user.nome}" />
                <h:outputLabel value="Login: " />
                <h:inputText value="#{user.login}" />
                <h:outputLabel value="Senha: " />
                <h:inputSecret value="#{user.senha}" />
                <h:commandButton type="submit" value="Salvar Cadastro" action="#{user.cadastrarUser}" />

            </h:panelGrid>
        </h:form>
    </body>
</html>
